<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text" placeholder="请填写{:__('Name')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-url" class="form-control" name="row[url]" type="text" placeholder="请带上http://或者https://">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('标签')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tag" data-primary-key="name" data-order-by='id desc' data-field="name" data-max-select-limit="50" data-multiple="true" data-source="accounturllabel/index" class="form-control selectpage" name="row[tag]" type="text" value="" placeholder="标签可以多选">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Info')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select name="row[info]" id="c-info" data-rule="required" class="form-control selectpicker">
                <option value="Shoplaza" selected >Shoplaza</option>
                <option value="shopify" >shopify</option>
                <option value="shopline" >shopline</option>
                <option value="woocommerce" >woocommerce</option>
            </select>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Iscustom')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select name="row[iscustom]" id="c-iscustom" class="form-control selectpicker">
                <option value="0" selected >否</option>
                <option value="1" >是</option>
            </select>
        </div>
    </div>
    <div id="shopifyshow" style="display: none;">
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Shopifyapikey')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-shopifyapikey" class="form-control" name="row[shopifyapikey]" type="text" value="" placeholder="请填写{:__('Shopifyapikey')}">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Shopifysecretapikey')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-shopifysecretapikey" class="form-control" name="row[shopifysecretapikey]" type="text" value="" placeholder="请填写{:__('Shopifysecretapikey')}">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Shopifyname')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-shopifyname" class="form-control" name="row[shopifyname]" type="text" value="" placeholder="请填写{:__('Shopifyname')}，例如https://schatzirqo.myshopify.com">
            </div>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('接入Shoplaza')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select name="row[iscustom_shoplaza]" id="c-iscustom_shoplaza" class="form-control selectpicker">
                <option value="0" selected >否</option>
                <option value="1" >是</option>
            </select>
        </div>
    </div>
    <div id="shoplazashow" style="display: none;">
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Shoplazaname')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-shoplazaname" class="form-control" name="row[shoplazaname]" type="text" value="" placeholder="请填写{:__('Shoplazaname')}">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('ShopifyToken')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-shoplazatoken" class="form-control" name="row[shoplazatoken]" type="text" value="" placeholder="请填写{:__('ShopifyToken')}">
            </div>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('接入Woocommerce')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select name="row[iscustom_woocommerce]" id="c-iscustom_woocommerce" class="form-control selectpicker">
                <option value="0" selected >否</option>
                <option value="1" >是</option>
            </select>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
